package tech.aiflowy.ai.controller;

import tech.aiflowy.ai.entity.AiChatMessage;
import tech.aiflowy.ai.service.AiChatMessageService;
import tech.aiflowy.common.annotation.UsePermission;
import tech.aiflowy.common.web.controller.BaseCurdController;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * AI 消息记录表 控制层。
 *
 * @author michael
 * @since 2024-08-23
 */
@RestController
@RequestMapping("/api/v1/aiChatMessage")
@UsePermission(moduleName = "/api/v1/aiBot")
public class AiChatMessageController extends BaseCurdController<AiChatMessageService, AiChatMessage> {
    public AiChatMessageController(AiChatMessageService service) {
        super(service);
    }
}